import java.io.BufferedWriter;
import java.io.FileWriter;

public class Estatisticas
{

	public void writeFile(String line, String fileName)
	{
		try
		{
			FileWriter fstream = new FileWriter(fileName, true);
			BufferedWriter out = new BufferedWriter(fstream);
			out.write(line);
			out.close();
		}
		catch (Exception e)
		{
			System.err.println("Error: " + e.getMessage());
		}
	}
}
